package com.cc.exception;
/**
 * @description:自定义业务异常类
 * @author: 新梦想.陈超
 * @date:  2022/5/4 下午6:25
 * @version: v1.0
 **/
public class CustomException extends Exception {
	/** serialVersionUID*/
	private static final long serialVersionUID = -5212079010855161498L;
	public CustomException(String message){
		super(message);
		this.message = message;
	}
	//异常信息
	private String message;
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
}